package com.lianyu507.mapper;

import com.lianyu507.pojo.CrWordTranslate;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * =================================
 * <p>
 * Created by Administrator on 2017/11/22.
 * <p>
 * 描述:
 */
@Component
public interface WordShowDomainMapper {

	//单词翻译
    CrWordTranslate getCrWordTranslate(@Param("english") String english);

    //根据单词id获取到所有用户单词的信息
    List<CrWordTranslate> findAllWordByWordId(List<Integer> ids);


}
